package cn.edu.jnu.basicms.utils;

import java.util.List;

public class Page<T> {
    private int total;        // 总记录数
    private List<T> list;     // 当前页数据

    // Getter和Setter
    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}